﻿using System.Runtime.Serialization;

namespace Hohlios.TMDBWrapper.DotNet.Model
{
    [DataContract(Name = "image")]
    public class Image
    {
        [DataMember(Name = "type")]
        public ImageType Type { get; set; }

        [DataMember(Name = "size")]
        public ImageSize Size { get; set; }

        [DataMember(Name = "url")]
        public string Url { get; set; }

        [DataMember(Name = "id")]
        public string Id { get; set; }

        [DataMember(Name = "width")]
        public int Width { get; set; }

        [DataMember(Name = "height")]
        public int Height { get; set; }
    }
}
